

/*  */
.station_Cen {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  grid-gap: 8px;
}

.lpanel_Cen {
  display: flex;
  align-items: center;

  .img {
    width: 50px;
    height: 50px;
  }

  .statistic-item {
    flex: 1;
    text-align: center;

    p:first-child {
      font-family: Source Han Sans CN;
      font-weight: 500;
      font-size: 14px;
      line-height: 24px;
    }

    p:nth-child(2) {
      font-family: Barlow Condensed SemiBold;
      font-weight: 400;
      font-size: 18px;
      line-height: 24px;

      span {
        font-family: Source Han Sans CN;
        font-size: 14px;
      }
    }
  }
}

// 筛选条件
.screenPanel {
  max-height: 295px;
  top: 14px;
  z-index: 1;
  background-color: #fff;
  .check-group {
    border-bottom-width: 1px;
    border-bottom-style: solid;
    padding: 4px 0;

    background-color: #fff;
      border-bottom-color: #fff;

    .el-checkbox-group {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
    }
  }

  .el-checkbox {
    margin: 5px 10px 5px 0;
  }

  .el-checkbox__label {
    font-family: Source Han Sans CN;
    font-weight: 400;
  }

  ::v-deep .el-radio-group {
    // display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    opacity: 1 !important;

    // padding: 0px 10px;
    .el-radio {
      margin-right: 35px;
      width: 100px;
      line-height: 2;
    }

    .el-radio__inner {
      border-radius: 2px;
      border: 1px solid #307eff !important;
    }

    .el-radio__label,
    .el-radio__input.is-checked + .el-radio__label {
      font-family: Source Han Sans CN;
      font-weight: 400;
      color: #333333;
    }

    .el-radio__inner::after {
      content: "";
      width: 10px;
      height: 5px;
      border: 1px solid white;
      border-top: transparent;
      border-right: transparent;
      text-align: center;
      display: block;
      position: absolute;
      top: 2px;
      left: 0px;
      vertical-align: middle;
      transform: rotate(-45deg);
      border-radius: 0px;
      background: none;
    }
  }

  .pointCheck {
    border: none;

    ::v-deep .el-checkbox__label {
      width: 150px;
    }
  }

  .sort {
    margin-top: 5px;

    span {
      font-family: Source Han Sans CN;
      font-weight: 400;
      color: #307eff;
      font-size: 14px;
    }

    ::v-deep .el-radio__label {
      font-family: Source Han Sans CN;
      font-weight: 400;
      color: #333333;
      padding-left: 5px;
    }
  }

  .screen-button {
    text-align: center;
    margin-top: 15px;
  }
}

.screen {
  position: absolute;
  right: 55px;
  top: 7px;
  cursor: pointer;
  z-index: 3;
}

.content-box {
  box-shadow: 1px 3px 5px 0px rgba(51, 51, 51, 0.07);
  background: linear-gradient(
    180deg,
    rgba(48, 126, 255, 0.1) 0%,
    rgba(48, 126, 255, 0) 10%,
    rgba(255, 255, 255, 0) 10%,
    rgba(255, 255, 255, 1) 100%
  );
  border-radius: 4px 4px 0px 0px;
  box-shadow: 1px 3px 5px 0px rgba(51, 51, 51, 0.07);
  height: 100%;
  width: 100%;
  padding: 8px 8px 0 8px;
  overflow: hidden;

  .content-box-body {
    height: 100%;
    overflow: auto;

    &::-webkit-scrollbar {
      height: 0px;
      width: 0px;
    }
  }

  &.blur::after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    content: "";
    background-color: transparent;
    backdrop-filter: blur(20px);
  }
}

/*
断面，水源地断面列表清单样式
 */
.segment-list {
  display: grid;
  grid-template-rows: auto 1fr;
  grid-gap: 6px;
  overflow: hidden;
  height: 100%;
}

.section-list-box {
  height: 100%;
  overflow: hidden !important;
  display: grid;
  grid-template-rows: auto 1fr;

  .list-total {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;

    .el-tag--small {
      margin-left: 3px;
    }

    img {
      margin-right: 5px;
    }

    .section-total {
      font-size: 24px;
      font-family: Barlow Condensed SemiBold;
      font-weight: 400;
      color: #307eff;
    }

    .statistics {
      line-height: 36px;
      font-size: 14px;
      font-family: Source Han Sans CN;
      font-weight: 400;
      color: #307dfd;
      display: flex;
      align-items: center;
      // cursor: pointer;
    }

    .sort {
      cursor: pointer;
      font-size: 14px;
      font-family: Source Han Sans CN;
      font-weight: 400;
      color: #307dfd;
      display: flex;
      align-items: center;
      line-height: 26px;
    }
  }

  .section-list {
    width: 100%;
    overflow: hidden;
    overflow-y: auto;
    scrollbar-width: none;
    display: flex;
    flex-direction: column;
    gap: 12px;

    .list-item {
      border-bottom-width: 1px;
      border-bottom-style: solid;
      padding: 5px 10px;
      cursor: pointer;

      &:hover {
        background: linear-gradient(
          180deg,
          rgba(48, 126, 255, 0) 0%,
          rgba(48, 126, 255, 0.2) 100%
        );
      }

      .item-top {
        margin-bottom: 15px;
        // display: grid;
        // grid-template-columns: 40% 1fr;
        // grid-gap: 12px;
        // align-items: center;
        display: flex;
        gap: 12px;

        .section {
          flex: 1;
          font-size: 16px;
          font-family: Source Han Sans CN;
          font-weight: 500;
          display: flex;
          align-items: center;
          gap: 8px;
          overflow: hidden;

          .section-name {
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;
          }
        }

        .details {
          display: flex;
          font-size: 14px;
          font-family: Source Han Sans CN;
          font-weight: 500;
          height: 22px;
          align-items: center;
          justify-content: flex-end;
          gap: 12px;
        }

        .river {
          border-left: 1px solid #ccc;
          border-right: 1px solid #ccc;
          padding: 0 12px;
          max-width: 120px;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }
      }

      .item-bottom {
        padding: 0 5px;
        margin: 10px 0;
        font-size: 14px;
        font-family: Source Han Sans CN;
        font-weight: 500;
        line-height: 28px;
        border-radius: 4px;
        overflow: hidden;
        text-overflow: ellipsis;

        &.over-item {
          color: #f44e46;
        }

        .over {
          font-weight: bold;
        }
      }
    }
  }
}

[data-theme="theme-light"] {
  .item-bottom.over-item {
    color: #f44e46;

    background-color: rgba($color: #ff4848, $alpha: 0.1);
  }
}

[data-theme="theme-dark"] {
  .item-bottom.over-item {
    color: #f44e46;

    background-color: rgba($color: #ff4848, $alpha: 0.3);
  }
}

.search-box {
  position: relative;

  .search {
    position: absolute;
    right: 20px;
    top: 10px;
    cursor: pointer;
  }

  .el-input__inner {
    box-shadow: 1px 3px 5px 0px rgba(51, 51, 51, 0.07);
    border: 0.4px solid #307eff;
    border-radius: 4px;
    height: 40px;
    line-height: 40px;
    padding-right: 90px;
  }
}

.sort-list {
  min-width: 100px;

  li {
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    font-family: Source Han Sans CN;
    font-weight: 400;
    text-align: center;
    cursor: pointer;
  }

  li:hover {
    background: rgba(48, 126, 255, 0.1);
  }

  .active {
    background: rgba(48, 126, 255, 0.1);
    color: #307eff;
  }
}

.statistic {
  width: 450px;
  // box-shadow: 1px 3px 5px 0px rgba(51, 51, 51, 0.07);
  // background: linear-gradient(180deg,
  //     rgba(48, 126, 255, 0.1) 0%,
  //     rgba(48, 126, 255, 0) 10%,
  //     rgba(255, 255, 255, 0) 10%,
  //     rgba(255, 255, 255, 1) 100%);
  border-radius: 4px;
  padding: 12px;
  overflow: hidden;
  overflow-y: auto;
  scrollbar-width: none;
}

.goBack {
  background-color: #307eff;
  border-color: #307eff;
  color: #ffffff;
  font-family: Source Han Sans CN;
  padding: 4px 13px;
  font-size: 14px;
  height: 24px;

  img {
    margin-right: 5px;
  }
}

/*
超标描述
*/
.message {
  padding: 0 12px;

  > div {
    display: flex;
    gap: 12px;
  }

  .message-title {
    font-size: 14px;
    font-family: Source Han Sans CN;
    font-weight: 400;
    line-height: 24px;
    flex: none;
  }

  .message-content {
    line-height: 24px;
    font-weight: 400;
    font-family: Source Han Sans CN;
    font-size: 14px;
  }
}

.statistic-info {
  display: flex;
  gap: 12px;
  font-family: Source Han Sans CN;
  font-weight: 500;
  font-size: 14px;
  align-items: center;
  background: linear-gradient(
    -90deg,
    rgba(48, 126, 255, 0.2) 0%,
    rgba(48, 126, 255, 0) 100%
  );

  .message-item {
    display: flex;
    gap: 4px;
    align-items: baseline;
    justify-items: flex-start;

    .message-item-label {
    }

    .message-item-num {
      font-family: Barlow Condensed SemiBold;
      font-weight: 400;
      font-size: 18px;
    }

    .message-item-unit {
    }
  }
}
